package com.dormitory_springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dormitory_springboot.bean.Admin;
import com.dormitory_springboot.bean.Dormitory;
import com.dormitory_springboot.form.Form;
import com.dormitory_springboot.form.FormInline;
import com.dormitory_springboot.form.RuleForm;
import com.dormitory_springboot.mapper.AdminMapper;
import com.dormitory_springboot.vo.ResultVO;

import java.util.List;

/**
 * @auther 夏杨
 **/
public interface AdminService extends IService<Admin> {
    public ResultVO login(RuleForm ruleForm);
    public List<Integer> check();
    public boolean adddormitory(Form form);
    public List<Dormitory> getdormitory(FormInline formInline);
}
